cmake_minimum_required(VERSION 3.5.1)

add_library( piecewise_jerk_speed_optimizer  piecewise_jerk_speed_optimizer.cc )
target_link_libraries( piecewise_jerk_speed_optimizer
common_proto
planning::speed_profile_generator
planning::st_graph_data
planning::piecewise_jerk_speed_problem
speed_optimizer

)

install(TARGETS   piecewise_jerk_speed_optimizer
        EXPORT  apollo-export
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
        RUNTIME DESTINATION bin
        INCLUDES DESTINATION .
        )